package Operations;
import Operations.Export.AExport;
import GUI.AObserver;

/**
 * @author Martin
 * @version 1.0
 * @created 24-III-2012 8:04:59
 */
public abstract class AOperations {

	private ArrayList<DbData> dbData;
	private AExport export;
	private ArrayList observers;
	public AExport m_AExport;
	public AObserver m_AObserver;

	public AOperations(){

	}

	public void finalize() throws Throwable {

	}

	/**
	 * 
	 * @param observer
	 */
	public void addObeserver(Observer observer){

	}

	/**
	 * vyuziva seznam ziskanych dat dbData
	 */
	public abstract boolean export();

	/**
	 * 
	 * @param to
	 * @param from
	 * @param resultData
	 */
	public abstract ResultData operationAll(Date to, Date from, ResultData resultData);

	/**
	 * zadan mesic
	 * 
	 * @param month
	 * @param resultData
	 */
	public abstract ResultData operationAll(int month, ResultData resultData);

	/**
	 * ze vsech dat
	 * 
	 * @param resultData
	 */
	public abstract ResultData operationAll(ResultData resultData);

	/**
	 * 
	 * @param message
	 */
	public void update(String message){

	}

}